#include <iostream>
#include "passdatabase.h"

using namespace std;

int main(void){ // Void is used for I/O.
int toggle; // User Input.
int automatic; // IR Input.

if (toggle==2){
automatic = 1
}

if (toggle==1, pass==0){
struct tm *ptr;
time_t lt;
lt = time(NULL);
ptr = localtime(&lt);
cout << "Door Opened" << "at " << (asctime(ptr)) << "by " << id  << endl;
system("pause");
	}
return 0;
}
